package com.vipheyue.campusrecyce.bean;

import java.util.List;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobRelation;

/**
 * Created by heyue on 16/4/1.
 */
public class ThingBean  extends BmobObject{
    String name;
    String price;
    String location;
    String detail;
    String phone;
    String category;//类别
    List<String> thingImgs;
    private MyUser releaseUser;//发布者 一对一关系
    private BmobRelation tenderers;// 多对多关系：用于存储投标该帖子的所有用户
    private MyUser successfulTenderer;// 成功竞标的用户 如果为空 则 还没有选择候选竞标者
    private Boolean show;

    public BmobRelation getTenderers() {
        return tenderers;
    }

    public void setTenderers(BmobRelation tenderers) {
        this.tenderers = tenderers;
    }

    public MyUser getSuccessfulTenderer() {
        return successfulTenderer;
    }

    public void setSuccessfulTenderer(MyUser successfulTenderer) {
        this.successfulTenderer = successfulTenderer;
    }

    public Boolean getShow() {
        return show;
    }

    public void setShow(Boolean show) {
        this.show = show;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public MyUser getReleaseUser() {
        return releaseUser;
    }

    public void setReleaseUser(MyUser releaseUser) {
        this.releaseUser = releaseUser;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public List<String> getThingImgs() {
        return thingImgs;
    }

    public void setThingImgs(List<String> thingImgs) {
        this.thingImgs = thingImgs;
    }
}
